package com.duanjw.springboot.profiles;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 多套配置文件 应用
 *
 * @author duanjw
 */
@SpringBootApplication
public class ProfilesApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(ProfilesApplication.class);
        // 编程的方式激活配置文件
//        springApplication.setAdditionalProfiles("dev");

        springApplication.run(args);    }
}
